package com.sskj.market.bean;

import java.util.List;

public class MyAddressBean {

    /**
     * current_page : 1
     * data : [{"id":4,"uid":11,"name":"123","phone":"13598265489","province":App.INSTANCE.getString(R.string.market_myAddressBean1),"city":App.INSTANCE.getString(R.string.market_myAddressBean2),"country":App.INSTANCE.getString(R.string.market_myAddressBean3),"detail":App.INSTANCE.getString(R.string.market_myAddressBean1),"is_default":1,"created_at":"2019-07-26 18:29:48","updated_at":"2019-07-26 18:29:48"},{"id":3,"uid":11,"name":"123","phone":"13598265489","province":App.INSTANCE.getString(R.string.market_myAddressBean1),"city":App.INSTANCE.getString(R.string.market_myAddressBean2),"country":App.INSTANCE.getString(R.string.market_myAddressBean3),"detail":App.INSTANCE.getString(R.string.market_myAddressBean1),"is_default":1,"created_at":"2019-07-26 18:29:34","updated_at":"2019-07-26 18:29:34"}]
     * first_page_url : http://llacoin.com/api/address/index?page=1
     * from : 1
     * last_page : 1
     * last_page_url : http://llacoin.com/api/address/index?page=1
     * next_page_url : null
     * path : http://llacoin.com/api/address/index
     * per_page : 10
     * prev_page_url : null
     * to : 2
     * total : 2
     */

    private int current_page;
    private String first_page_url;
    private int from;
    private int last_page;
    private String last_page_url;
    private Object next_page_url;
    private String path;
    private int per_page;
    private Object prev_page_url;
    private int to;
    private int total;
    private List<DataBean> data;

    public int getCurrent_page() {
        return current_page;
    }

    public void setCurrent_page(int current_page) {
        this.current_page = current_page;
    }

    public String getFirst_page_url() {
        return first_page_url;
    }

    public void setFirst_page_url(String first_page_url) {
        this.first_page_url = first_page_url;
    }

    public int getFrom() {
        return from;
    }

    public void setFrom(int from) {
        this.from = from;
    }

    public int getLast_page() {
        return last_page;
    }

    public void setLast_page(int last_page) {
        this.last_page = last_page;
    }

    public String getLast_page_url() {
        return last_page_url;
    }

    public void setLast_page_url(String last_page_url) {
        this.last_page_url = last_page_url;
    }

    public Object getNext_page_url() {
        return next_page_url;
    }

    public void setNext_page_url(Object next_page_url) {
        this.next_page_url = next_page_url;
    }

    public String getPath() {
        return path;
    }

    public void setPath(String path) {
        this.path = path;
    }

    public int getPer_page() {
        return per_page;
    }

    public void setPer_page(int per_page) {
        this.per_page = per_page;
    }

    public Object getPrev_page_url() {
        return prev_page_url;
    }

    public void setPrev_page_url(Object prev_page_url) {
        this.prev_page_url = prev_page_url;
    }

    public int getTo() {
        return to;
    }

    public void setTo(int to) {
        this.to = to;
    }

    public int getTotal() {
        return total;
    }

    public void setTotal(int total) {
        this.total = total;
    }

    public List<DataBean> getData() {
        return data;
    }

    public void setData(List<DataBean> data) {
        this.data = data;
    }

    public static class DataBean {
        /**
         * id : 4
         * uid : 11
         * name : 123
         * phone : 13598265489
         * province : 河南省
         * city : 郑州市
         * country : 金水区
         * detail : 河南省
         * is_default : 1
         * created_at : 2019-07-26 18:29:48
         * updated_at : 2019-07-26 18:29:48
         */

        private int id;
        private int uid;
        private String name;
        private String phone;
        private String province;
        private String city;
        private String country;
        private String detail;
        private int is_default;
        private String created_at;
        private String updated_at;

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public int getUid() {
            return uid;
        }

        public void setUid(int uid) {
            this.uid = uid;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public String getPhone() {
            return phone;
        }

        public void setPhone(String phone) {
            this.phone = phone;
        }

        public String getProvince() {
            return province;
        }

        public void setProvince(String province) {
            this.province = province;
        }

        public String getCity() {
            return city;
        }

        public void setCity(String city) {
            this.city = city;
        }

        public String getCountry() {
            return country;
        }

        public void setCountry(String country) {
            this.country = country;
        }

        public String getDetail() {
            return detail;
        }

        public void setDetail(String detail) {
            this.detail = detail;
        }

        public int getIs_default() {
            return is_default;
        }

        public void setIs_default(int is_default) {
            this.is_default = is_default;
        }

        public String getCreated_at() {
            return created_at;
        }

        public void setCreated_at(String created_at) {
            this.created_at = created_at;
        }

        public String getUpdated_at() {
            return updated_at;
        }

        public void setUpdated_at(String updated_at) {
            this.updated_at = updated_at;
        }
    }
}
